HipTexture

Undocumented in source.

Constructors

this
this()

Initializes with the current renderer type

this
this(IImage image)
Undocumented in source.

Members

Functions

bind
void bind(int slot)

Binds texture to the specific slot

getBackendHandle
IHipTexture getBackendHandle()
Undocumented in source. Be warned that the author may not have intended to support it.
getBounds
Rect getBounds()
Undocumented in source. Be warned that the author may not have intended to support it.
getHeight
int getHeight()
Undocumented in source. Be warned that the author may not have intended to support it.
getWidth
int getWidth()
Undocumented in source. Be warned that the author may not have intended to support it.
hasSuccessfullyLoaded
bool hasSuccessfullyLoaded()
Undocumented in source. Be warned that the author may not have intended to support it.
loadImpl
bool loadImpl(IImage img)

Returns whether the load was successful

setTextureFilter
void setTextureFilter(TextureFilter min, TextureFilter mag)
Undocumented in source. Be warned that the author may not have intended to support it.
setWrapMode
void setWrapMode(TextureWrapMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void unbind(int slot)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

getPixelTexture
immutable(HipTexture) getPixelTexture()
height
int height;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

img
IImage img;
mag
TextureFilter mag;
Undocumented in source.
min
TextureFilter min;
Undocumented in source.
textureImpl
IHipTexture textureImpl;

Make it available for implementors

width
int width;
Undocumented in source.

Meta